home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d18
/
turbotut.arc
/
PRINTOUT.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1989-06-30
|
378b
|
16 lines
PROGRAM printout_example;
VAR index : BYTE;
BEGIN
WRITELN(output,'Printer program example');
WRITELN(output,'Turn on your printer and install paper in it.');
WRITELN(lst,'This is to demonstrate printing in Pascal');
WRITELN(lst);
FOR index := 1 TO 15 DO
BEGIN
WRITE(lst,'The index value is ');
WRITE(lst,index:3);
WRITELN(lst,' at this point');
END;
END.